
<?php        
defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php'); ?>
<!-- wrap starts here -->
<div id="wrap">
		
	<!--header -->
	<div id="header">			
				
			<h1 id="logo"><a href="<?php         echo DIR_REL?>/"><?php        
				$block = Block::getByName('My_Site_Name');
				if($block && $block->bID) $block->display();
				else echo SITE;?></a>
			</h1>		

					
						
	</div>
		
	<!-- navigation -->	
	<div  id="menu">
		<ul>
<?php   
    $a = new Area('Header Nav');
    $a->display($c);
?>		</ul>
	</div>					
			
	<!-- content-wrap starts here -->
	<div id="content-wrap">
		
		<div id="main">				
				
<?php   
print $innerContent;
?> 				<br />	

		</div>
		
			
		<div id="sidebar">					
			<h2><?php   
    $a = new Area('Sidebar Title');
    $a->display($c);
?></h2>
			<ul class="sidemenu">				
<?php   
    $a = new Area('Sidebar');
    $a->display($c);
?>
			</ul>						
		</div>
				
	<!-- content-wrap ends here -->	
	</div>
					
	<!--footer starts here-->
    <?php       $this->inc('elements/footer.php'); ?>